FROM keymetrics/pm2:latest

MAINTAINER tangxinming<zhiyuancode@foxmail.com>

RUN mkdir -p /home/www/services

WORKDIR /home/www/services

COPY . /home/www/services

EXPOSE 9999

RUN npm install --production

CMD [ "pm2-docker", "start", "server.js" ]

